#
# Be sure to run `pod lib lint BusinessUnitBUName.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'MirrorSDWebImage'
  s.version          = '0.1.6'
  s.summary          = 'A short description of MirrorSDWebImage.'
  s.swift_version    = '5.0'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'https://gitee.com/PeopleDream/mirror-sdwebimage'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'Wenda Xu' => 'xu_wendajxq@163.com' }
  s.source           = { :git => 'git@gitee.com:PeopleDream/mirror-sdwebimage.git', :tag => 'MirrorSDWebImage-' + s.version.to_s }
  # s.social_media_url = 'https://twitter.com/theochen'

  s.ios.deployment_target = '9.0'

  s.cocoapods_version = '>= 1.9.0'
  s.static_framework = false
  s.prefix_header_file = false
  s.framework = 'ImageIO'
  s.default_subspec = 'Core'

  # s.exclude_files = "BusinessUnit/BUName/Classes/*.swift"
  s.preserve_paths = [
    'BusinessUnit/MirrorSDWebImage/README.md',
    'BusinessUnit/MirrorSDWebImage/CHANGELOG.md'
  ]
  s.pod_target_xcconfig = {
      'SUPPORTS_MACCATALYST' => 'YES',
      'DERIVE_MACCATALYST_PRODUCT_BUNDLE_IDENTIFIER' => 'NO'
    }
  s.subspec 'Core' do |core|
      core.source_files = 'BusinessUnit/MirrorSDWebImage/SDWebImage/Core/*.{h,m}', 'BusinessUnit/MirrorSDWebImage/WebImage/SDWebImage.h', 'BusinessUnit/MirrorSDWebImage/SDWebImage/Private/*.{h,m}'
      core.private_header_files = 'BusinessUnit/MirrorSDWebImage/SDWebImage/Private/*.h'
  end
  # s.frameworks = 'UIKit', 'MapKit'
  
  # Todo: write your dependency here
  # famous public pods
  # less famous public pods
  # private pods
  
end

